package com.cyan.note.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 根路径测试控制器 - 最简单的测试
 * 
 * @author ZhangzhenYu
 * @since 2025-01-14
 */
@RestController
public class RootTestController {
    
    /**
     * 根路径测试
     */
    @GetMapping("/")
    public String root() {
        return "Cyan-Note Backend is running!";
    }
    
    /**
     * 简单健康检查
     */
    @GetMapping("/ping")
    public String ping() {
        return "pong";
    }
}